home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970929-19971216 / 000316_news@newsmaster….columbia.edu _Mon Nov 24 14:18:40 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA28403
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 24 Nov 1997 14:18:24 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA15260
  7.     for kermit.misc@watsun; Mon, 24 Nov 1997 14:18:24 -0500 (EST)
  8. Path: news.columbia.edu!panix!howland.erols.net!europa.clark.net!206.251.127.49!newsfeed.gte.net!news.gte.net!not-for-mail
  9. From: rmergner@hworks.com (Bob Mergner)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Invalid Handle message in K95 script
  12. Date: 24 Nov 1997 19:14:35 GMT
  13. Organization: Healthworks Alliance
  14. Lines: 35
  15. Message-ID: <65cjmr$e7k$1@gte2.gte.net>
  16. NNTP-Posting-Host: 1cust183.tnt23.nyc3.da.uu.net
  17. X-Auth: DE428C18068196D117CB8491
  18. X-Newsreader: Forte Free Agent 1.1/32.230
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:8105
  20.  
  21. I have a script that I am using to upload files to a host using K95.
  22. A part of he scipt looks like this:
  23.  
  24. open !read dir/b *.orders
  25. while success {
  26. read \%s
  27. if fail GOTO pickup
  28. pause 2
  29. send \%s
  30. if fail GOTO START
  31. close write
  32. open write copyit.bat
  33. write-line FILE {copy \%s c:\\labname\\orders\\sent}
  34. write-line FILE {Del \%s}
  35. write-line FILE {Exit}
  36. close write
  37. run copyit.bat
  38. }
  39. :pickup
  40. echo Moving orders to inbound...
  41. remote host copy *.orders inbound:*.ord
  42. if fail GOTO START
  43. echo Cleaning up moved orders...
  44. remote host delete *.orders;*
  45.  
  46. The problem is that if I move the two lines under :pickup that do the
  47. remote delete and put them up in the loop after the send \%s, K95
  48. gives me about 5 'invalid handles' errors and does not process my
  49. commands properly.  Does anybody know why that would be?  I have tried
  50. putting a pause in after the send and the first remote host command,
  51. but this doesn't help.  Any help would be most appreciated.
  52.  
  53.     -Bob Mergner
  54.     Interface Software Engineer
  55.     Healthworks Alliance Inc.